//
//  requsetFinished.h
//  HeroCar
//
//  Created by ZC on 15/1/20.
//  Copyright (c) 2015年 SZZCIT. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CommunicateWithService : NSObject

+(BOOL)communicateWithServiceApiName:(NSString *)api finishSelector:(SEL)finished failSelector:(SEL)failed delegateObj:(id)delegate;

+(BOOL)communicateWithService:(NSArray *)key value:(NSArray *)value apiName:(NSString *)api finishSelector:(SEL)finished failSelector:(SEL)failed delegateObj:(id)delegate;

+(NSDictionary *)getDataDic:(NSString *)str;

//+(BOOL)uploadImageToService:(NSData *)imgData fileName:(NSString *)fileName;

//+(void)method4:(NSData *)imgData fileName:(NSString *)fileName;

+(NSString *)getRequestFinishedStr:(NSString *)str;

@end
